package com.zk.shop.pojo;

import java.sql.Timestamp;

public class Chat {
    private Integer cid;
    private String content;
    private String imgurl;
    private String imgurl1;
    private String imgurl2;
    private Timestamp chattime;
    private Integer uid;
    private Integer pid;

    public Chat() {
    }

    public Chat(Integer cid, String content, String imgurl, String imgurl1, String imgurl2, Timestamp chattime, Integer uid, Integer pid) {
        this.cid = cid;
        this.content = content;
        this.imgurl = imgurl;
        this.imgurl1 = imgurl1;
        this.imgurl2 = imgurl2;
        this.chattime = chattime;
        this.uid = uid;
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "Chat{" +
                "cid=" + cid +
                ", content='" + content + '\'' +
                ", imgurl='" + imgurl + '\'' +
                ", imgurl1='" + imgurl1 + '\'' +
                ", imgurl2='" + imgurl2 + '\'' +
                ", chattime=" + chattime +
                ", uid=" + uid +
                ", pid=" + pid +
                '}';
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }

    public String getImgurl1() {
        return imgurl1;
    }

    public void setImgurl1(String imgurl1) {
        this.imgurl1 = imgurl1;
    }

    public String getImgurl2() {
        return imgurl2;
    }

    public void setImgurl2(String imgurl2) {
        this.imgurl2 = imgurl2;
    }

    public Timestamp getChattime() {
        return chattime;
    }

    public void setChattime(Timestamp chattime) {
        this.chattime = chattime;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }
}
